package util;

import java.util.ArrayList;

public class ArrayHelpers {
	public static String join(ArrayList<String> list, String delimeter) {
		String output = "";
		for (String item : list) {
			output += item + delimeter;
		}
		
		// trim off the trailing delimeter...
		if (output.length() > 0)
			output = output.substring(0, output.length()-delimeter.length());
		
		return output;
	}
}
